package nl.soekoor.recipes.services.impl;

import nl.soekoor.recipes.dao.RecipeDao;
import nl.soekoor.recipes.dao.hibernate.RecipeHibernateDAO;
import nl.soekoor.recipes.data.Recipe;
import nl.soekoor.recipes.services.RecipeService;

public class RecipeServiceImpl implements RecipeService{
	
	private RecipeDao recipeDAO;

	public void createRecipe(Recipe recipe) {
		recipeDAO.createRecipe(recipe);
		
	}

	public RecipeDao getRecipeDAO() {
		return recipeDAO;
	}

	public void setRecipeDAO(RecipeDao recipeDAO) {
		this.recipeDAO = recipeDAO;
	}

	public Recipe get(int i) {
		return recipeDAO.get(1);
	}

}
